<?php
use think\facade\Route;

// -------------------------- BaseValidate -----------------------------------
Route::miss('api/BaseValidate/miss');
//Route::get('/', 'api/BaseValidate/home');
Route::get('/', 'api/v1.Test/receive');
// -------------------------- BaseValidate -----------------------------------


// -------------------------- Resource -----------------------------------
Route::group('api/:version/resource', function () {
    Route::get('types', 'api/:version.resource/getResourceTypes');//登录
    Route::get('download/:resource_type_id', 'api/:version.resource/downloadResource')->pattern(['resource_type_id' => '\d+']);;//修改密码
});
// -------------------------- Resource -----------------------------------


// -------------------------- Site -----------------------------------
Route::group('api/:version/test', function () {
    Route::get('test', 'api/:version.Test/test');//获取siteList
    Route::get('test2', 'api/:version.Test/test2');//获取siteList
});
// -------------------------- Site -----------------------------------


return [

];
